﻿<xctk:ChildWindow x:Class="DDOLayoutEditor.LayoutCategories"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
        Height="460" Width="363" Caption="Categories"
        PreviewKeyUp="Window_PreviewKeyUp_1">
    <TreeView Name="MainList">
        <TreeView.ItemTemplate>
            <HierarchicalDataTemplate ItemsSource="{Binding Children}">
                <StackPanel Orientation="Horizontal">
                    <CheckBox Focusable="False" IsChecked="{Binding IsVisible}" VerticalAlignment="Center"/>
                    <TextBlock Text="{Binding Path=Name}" Margin="6,0,2,0" />
                </StackPanel>
            </HierarchicalDataTemplate>
        </TreeView.ItemTemplate>
    </TreeView>
</xctk:ChildWindow>
